package cn.pku.sirx.snad.uias.analyzer;

/**
 * A common used interface for analyzing data of users.
 * 
 * @author WangXiao
 */
public interface IAnalyzer {

	/**
	 * Analyze some kind of data from a user to another.
	 * <p>
	 * If the given users are the same person, result will be 0.
	 * 
	 * @param fromUserId
	 *            user id
	 * @param toUserId
	 *            another user id
	 * @return analyzation result of double type
	 */
	double analyze(String fromUserId, String toUserId);

}
